package com.service.system.user.impl;

import com.dao.UserAssetsMapper;
import com.entity.system.UserAssets;
import com.service.system.user.UserAssetsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserAssetsServiceImpl implements UserAssetsService {

    @Resource
    private UserAssetsMapper userAssetsMapper;

    @Override
    public UserAssets getUserAssetsByUserId(Long userId) {
        return userAssetsMapper.selectByPrimaryKey(userId);
    }
}
